﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    [Serializable]
    public class HangHoaDTO
    {
        #region Attributes
        private String _maMatHang;
        private String _tenMatHang;
        private float _donGia;
        private String _maDonViTinh;
        private int _soLuongTon;
        #endregion

        #region Default Constructor
        public HangHoaDTO()
        {
            _maMatHang = String.Empty;
            _tenMatHang = String.Empty;
            _donGia = 0.0f;
            _maDonViTinh = String.Empty;
            _soLuongTon = 0;
        }
        #endregion

        #region Properties
     
        public String MaMatHang
        {
            get { return this._maMatHang; }
            set { this._maMatHang = value; }
        }
        public String TenMatHang
        {
            get{return this._tenMatHang;}
            set{this._tenMatHang=value;}
        }
        public float DonGia
        {
            get { return this._donGia; }
            set { this._donGia = value; }
        }
        public String MaDonViTinh
        {
            get { return this._maDonViTinh; }
            set { this._maDonViTinh = value; }
        }
        public int SoLuongTon
        {
            get { return this._soLuongTon; }
            set { this._soLuongTon = value; }
        }
       
        #endregion
    }
}
